package com.list88zhu.common.rxhttp.http.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * projectName rxretrofit
 * date 2017/7/3
 * description com.example.administrator.rxjavaretrofitsample.entity
 */

@Entity
public class CookieEntity {
    @Id
    private long id;
    /*url*/
    private String url;
    /*返回结果*/
    private String resulte;
    /*时间*/
    private long time;

    public CookieEntity(){}

    public CookieEntity(String url, String result, long time){
        this.url = url;
        this.resulte = result;
        this.time = time;
    }

    @Generated(hash = 1620775324)
    public CookieEntity(long id, String url, String resulte, long time) {
        this.id = id;
        this.url = url;
        this.resulte = resulte;
        this.time = time;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getResulte() {
        return resulte;
    }

    public void setResulte(String resulte) {
        this.resulte = resulte;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
